import request from './request.js'

const carGoods = {
  // 获取车品列表
  GetGoodsCarSupplieListPaged(data) {
    return request.post('/business/GoodsCarSupplie/GetGoodsCarSupplieListPaged', data)
  },

  // 获取车品筛选分类列表
  GetGoodsCarSupplieTypeListPaged(data) {
    return request.post('/business/GoodsCarSupplie/GetGoodsCarSupplieTypeListPaged', data)
  },

  // 车品管理的车品列表
  GetGoodsCarSupplieManagementList(data) {
    return request.post('/business/GoodsCarSupplie/GetGoodsCarSupplieManagementList', data)
  },

  // 发布车品 - 车品分类列表
  GetGoodsALL() {
    return request.post('/business/GoodsCarSupplie/GetGoodsALL')
  },

  // 发布车品
  AddGoodsSupplie(data) {
    return request.post('/business/GoodsCarSupplie/AddGoodsSupplie', data)
  },

  // 车品批量管理 - 删除、下架
  UpdateCarSupplie(data) {
    return request.post('/business/GoodsCarSupplie/UpdateCarSupplie', data)
  },

  // 编辑车品信息 - 发布
  UpdateGoodsSupplie(data) {
    return request.post('/business/GoodsCarSupplie/UpdateGoodsSupplie', data)
  },

  // 获取编辑车品的详情信息
  GetCarSupplieDetails(data) {
    return request.post('/business/GoodsCarSupplie/GetCarSupplieDetails', data)
  },

  // 获取预览车品详情信息
  GetGoodsCarSupplieDetails(data) {
    return request.post('/business/GoodsCarSupplie/GetGoodsCarSupplieDetails', data)
  },

}

export default carGoods